function p = getPpatterns( X )
% GETPPATTERNS Summary of this function goes here
%   Detailed explanation goes here
global P;

p = X(1:P,:);

end

